mini-os/x86-64 entry: check against nested events and try to fix up
authorXu Zhang <xzhang@cs.uic.edu>
Thu, 11 Apr 2013 04:47:00 +0000 (23:47 -0500)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 22 Apr 2013 11:32:51 +0000 (12:32 +0100)
commitb09ea2a57899624ba8da6b2efdf1901cda847616
tree2f6adc8700fcf0a871e4fb1aa3d227bbd5434d1c
parent04823e2ad2a8902bf6d24dc1677c72ac9658b792
mini-os/x86-64 entry: check against nested events and try to fix up

In hypervisor_callback, check against event re-entrant.
If we came from the critical region in interrupt context,
try to fix up by coalescing the two stack frames.
The execution is resumed as if the second event never happened.

Signed-off-by: Xu Zhang <xzhang@cs.uic.edu>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
extras/mini-os/arch/x86/x86_64.S